package com.groupbuying.customerconsumer.service.impl;

import com.groupbuying.customerconsumer.dao.CustomerWxinfoRelDao;
import com.groupbuying.customerconsumer.domain.CustomerWxinfoRelDO;
import com.groupbuying.customerconsumer.service.CustomerWxinfoRelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class CustomerWxinfoRelServiceImpl implements CustomerWxinfoRelService {
	@Autowired
	private CustomerWxinfoRelDao customerWxinfoRelDao;
	
	@Override
	public CustomerWxinfoRelDO get(String customerId){
		return customerWxinfoRelDao.get(customerId);
	}
	
	@Override
	public List<CustomerWxinfoRelDO> list(Map<String, Object> map){
		return customerWxinfoRelDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return customerWxinfoRelDao.count(map);
	}
	
	@Override
	public int save(CustomerWxinfoRelDO customerWxinfoRel){
		return customerWxinfoRelDao.save(customerWxinfoRel);
	}
	
	@Override
	public int update(CustomerWxinfoRelDO customerWxinfoRel){
		return customerWxinfoRelDao.update(customerWxinfoRel);
	}
	
	@Override
	public int remove(String customerId){
		return customerWxinfoRelDao.remove(customerId);
	}
	
	@Override
	public int batchRemove(String[] customerIds){
		return customerWxinfoRelDao.batchRemove(customerIds);
	}
	
}
